<template>
    <div class="error404">
        <img src="../assets/img/404/404.png" @click="gotoHome">
    </div>
</template>

<script>
    export default {
        methods:{
            /*返回首页*/
            gotoHome(){
                this.$router.push('/layout')
            }
        }

    }
</script>

<style scoped lang="scss">
  .error404 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
</style>